home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-04 | 1.5 KB | 41 lines | [TEXT/EDIT] |
- This is a color-only ploygon "mondrian" type demo, which puts up a
- random, 5 line ploygon, paints it with random RGB, frames it in
- black, kills it, then does the whole cycle again over the top of
- the last one (s).
-
- There are 5 demo applications made from the same .c file.
-
- One does the above - very fast.
- The second does it with a 60 tick (one second) delay between draws.
- The third fills the screen with black, and does the delay between
- draws.
-
- I made this from snippets from a few PD source demos.
-
- Of course, there are several additional modifications and additions
- which could be made for an endless variety of effects.
-
- Put a "FillPoly" at the end of Draw_The_Poly and uncomment the
- delay in the main loop, and you'll have "Picasso lightning" bolts.
- Do that, then put a random tick amount in the delay, so that they
- are at uneven intervals (set a range). turn the lights out, fire
- it up, watch it and go crazier than you'd be if you did that.
-
- I have only tried this program ON MY LC, and it was fine.
- Your mileage may vary! The Mac YOU crash may be your own.
-
- Some words of caution:
-
- 1. Don't let these polygons poke you - some are very sharp!
- 2. Don't use up too many of your colors - you don't want to
- end up with a B/W Mac!
- 3. Don't watch it run to long - it causes disfunctionality.
- 4. Don't count the 5 pointed oblique stars - there are many.
- 5. Don't try to answer the question "How can something so
- pretty be so ugly?"
- 6. Don't add one more LineTo call- the polygons become Ninja
- throwing stars with poison tips.
-
- Enjoy! (:-)
-
- kenlong@netcom.com